package ch.doublet.jw.pubdownloader;

import java.awt.Frame;
import java.awt.Label;
import java.awt.TextField;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;

class Main {

	public static void main(String[] args) {

		PathConfiguration configuration = new PathConfiguration();

		Frame f = new Frame();
		f.addWindowListener(new WindowAdapter() {
			public void windowClosing(WindowEvent e) {
				System.exit(0);
			}
		});
		f.add(new Label("This JAR file is executable!"));
		f.add(new Label("Standard Path:"));
		f.add(new TextField(configuration.getTempPath()));
		f.setSize(500, 500);
		f.setVisible(true);

	}

}
